package com.jiyun.jiyunmall.product.service;

import com.jiyun.jiyunmall.common.service.CrudService;
import com.jiyun.jiyunmall.product.dto.AttrAttrgroupRelationDTO;
import com.jiyun.jiyunmall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author boge 71164376@qq.com
 * @since 1.0.0 2022-07-12
 */
public interface AttrAttrgroupRelationService extends CrudService<AttrAttrgroupRelationEntity, AttrAttrgroupRelationDTO> {

    List<AttrAttrgroupRelationDTO> getAttrsByGroupId(Long id);

    void removeAttr(AttrAttrgroupRelationDTO dto);
}